package com.andy.customerService.mapper;

import com.andy.customerService.entity.User;
import com.andy.customerService.pojo.request.UserRequestParam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Andy
 * @since 2021-12-24
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    User selectByPramaryKey(@Param("id") Long id);


    List<User> queryUserListByParam(@RequestBody UserRequestParam requestParam);
}
